package ru.jexp.rcp.supply.n.form;

import org.eclipse.core.databinding.observable.value.IObservableValue;

public class JExpObservable<ControlT> implements IJExpObservable<ControlT>
{
	private ControlT control;
	private IObservableValue value;

	public JExpObservable(ControlT control, IObservableValue value)
	{
		this.control = control;
		this.value = value;

	}

	@Override
	public ControlT getSwtControl()
	{
		return control;
	}

	@Override
	public IObservableValue getValueObservable()
	{
		return value;
	}
}
